/***
 * * PROJECT
 * *    ATaG
 * * VERSION
 * *    $Revision: 1.1 $
 * * DATE
 * *    $Date: 2008/04/09 04:36:30 $
 * * LOG
 * *    $Log: TaskAndRouteMapping.java,v $
 * *    Revision 1.1  2008/04/09 04:36:30  animesh
 * *    first cut
 * *
 ***/

package atag.compiler;

public class TaskAndRouteMapping {
    /** M[i][k] = 1 if task i goes on node k */
    int[][] TaskMapping;
    
    /** RM[i][j] = phi, the path choice for task edge (i,j) */
    int[][] RouteMapping;

    public int[][] getRouteMapping() {
        return RouteMapping;
    }

    public void setRouteMapping(int[][] RouteMapping) {
        this.RouteMapping = RouteMapping;
    }

    public int[][] getTaskMapping() {
        return TaskMapping;
    }

    public void setTaskMapping(int[][] TaskMapping) {
        this.TaskMapping = TaskMapping;
    }

    public TaskAndRouteMapping(int[][] TaskMapping, int[][] RouteMapping) {
        this.TaskMapping = TaskMapping;
        this.RouteMapping = RouteMapping;
    }
    
}

